Enhanced reusability via polymorphic additive virtual methods in C++

نویسندگان

  • R. Chattamvelli
  • Hossein Saiedian
چکیده

The virtual method is a useful concept in polymorphic behavior of object-oriented programs. By making a method virtual in a class, all classes derived from that class are allowed to modify or enhance the definition of the method (while retaining its original signature) providing one kind of polymorphism. In this article, we explore the virtues of virtual methods and introduce different ways of implementing additive virtual methods in C++. The concepts presented can find applications in shared software libraries, integrating software applications, and distributed computing.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

EFFECT OF NANO SiC ADDITIVE ON MCMB-SiC COMPOSITE FABRICATION VIA MOLTEN SILICON INFILTRATION

C-SiC composites with carbon-based mesocarbon microbeads (MCMB) preforms are new type of highpreformance and high-temperature structural materials for aerospace applications. In this study MCMB-SiC composites with high density (2.41 g.cm-3) and high bending strength (210 MPa,) was prepared by cold isostatic press of mixed mesophase carbon powder derived from mesophase pitch with different amoun...

متن کامل

Interaction-Centric Modelling for Interactive Virtual Worlds: The APIA Approach

Conceptual modelling studies the different abstraction methods of the real world. The conception and the execution of virtual worlds depend strongly of the type of conceptual models. Existing modelling methods such as object-oriented modelling are not appropriated when the main concern is the dynamic reusability and interoperability. Such a reusability and interoperability must be free of any h...

متن کامل

ZrOCl2.8H2O@nano SiO2: a green and recyclable catalyst for the synthesis of benzimidazoles

ZrOCl2.8H2O@nano SiO2 has been synthesized for the first time via a simple procedure and characterized by SEM (scanning electron microscopy), FT-IR, and EDX (energy-dispersive X-ray) techniques. The efficiency of the prepared nanostructure has been explored for the synthesis of benzimidazoles via the condensation reaction of orthoesters and diamines at 60 °C under solvent-free conditions. The s...

متن کامل

Transposing F to C (preliminary Report)

We present a type-preserving translation of the polymorphic lambda calculus (System F) into an extension of the C programming language supporting parameterized classes and polymorphic methods. We observe that whilst parameterized classes alone are sufficient to encode the parameterized datatypes and letpolymorphism of languages such as ML and Haskell, it is the presence of polymorphic virtual m...

متن کامل

Investigation of Desulfurization Activity, Reusability, and Viability of Magnetite Coated Bacterial Cells

Background: Magnetic separation using magnetic nanoparticles can be used as a simple method to isolate desulfurizing bacteria from a biphasic oil/water system. Objectives: Magnetite nanoparticles were applied to coat the surface of Rhodococcus erythropolis IGTS8 and Rhodococcus erythropolis FMF desulfurizing bacterial cells, and the viability and...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Information & Software Technology

دوره 39  شماره 

صفحات  -

تاریخ انتشار 1997